#ifndef TEXTURE_H
#define TEXTURE_H
#include "Header.h"

class Rect;
class Texture
{
private:
	GLuint texture;
	int width;
	int height;
	int id;

public:
	Texture();
	Texture(const char* fileName, int id);

	void Render(int x, int y);
	void Render(int x, int y, float deep);
	void Render(int x, int y, float xScale, float yScale, float angle, float alpha, float deep);

	void Render(int x, int y, Rect* src);
	void Render(int x, int y, Rect* src, float deep);
	void Render(int x, int y, Rect* src, float alpha, float deep);
	void Render(int x, int y, Rect* src, float xScale, float yScale, float angle, float alpha,float deep);
	
	int GetWidth(){return width;}
	int GetHeight(){return height;}
	GLuint GetTexture(){return texture;}
	int GetID(){return id;}

	~Texture();
};

#endif